/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 徐海涛
 * Date: 2021-11-23
 * Time: 13:22
 */


public class TestDemo1 {
    class ClassName {
        public String name;
        public int age;
        public void eat() {
            System.out.println(name + "在吃饭");
        }
        public void sleep() {
            System.out.println(name + "在睡觉");
        }
    }

    public static void main(String[] args) {

    }

